﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using IceScream.Models;
using IceScream.ViewModels;

namespace IceScream.Controllers
{
    public class ServiceController : Controller
    {
        DataEntities storeDB = new DataEntities();

        //
        // GET: /Service/

        public ActionResult Index()
        {
            var data = storeDB.Services.ToList();
            return View(data);
        }

    }
}
